<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8" language="java"  pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="spring" uri="/WEB-INF/lib/spring.tld"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f" %>
<%@ taglib prefix="z" uri="/WEB-INF/lib/zerdoor.tld"%>
<c:set value="${pageContext.request.contextPath}" var="path" scope="page"/>


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><spring:message code='taskSigning.title.msg' /></title>
    <link href="${path}/style/acg/css/style.css" rel="stylesheet" type="text/css" />

    <script src="${path}/js/jquery.min.js" type="text/javascript"></script>
    <%--<script type="text/javascript" src="${path}/style/acg/js/common.js"></script>--%>

    <script type="text/javascript">

        $(function(){

            f_init();
        });

        function f_init(){

            $("#contract_id").change(f_loadContract);

            f_loadContract();
        }

        function f_loadContract(){


            var contract_id = $("#contract_id").val();

            $(".member_single").load("${path}/taskSigning/${handleUrl}.html?contractId=" + contract_id);

        }


    </script>
</head>

<body>

        	<div class="member_box">
        		<div class="member_title">
                    <spring:message code='taskSigning.message.msg1' />

                    <select id="contract_id" class="select">

                        <c:forEach var="contractName" items="${contractNames}">

                            <option value="${contractName.contract_id}">${contractName.title}</option>

                        </c:forEach>


                    </select>
                </div>
                <div class="member_single">

                </div>
            </div>

</body>
</html>
